
import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/report/` + url, ...arg)

export default {
	async fetchUserFlowReportList(query) {
		return await request('user/flow-report/page', query, 'get')
	},
    async fetchLicenseFlowReportList(query) {
		return await request('license/flow-report/page', query, 'get')
	},
    async fetchUserFlowMonthReportList(query) {
		return await request('user/flow-month-report/page', query, 'get')
	},
    async fetchLicenseFlowMonthReportList(query) {
		return await request('license/flow-month-report/page', query, 'get')
	},
    async homeData(query) {
		return await request('home/data-view', query, 'get')
	}
}

